package com.zhang.oauth2server.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.oauth2server.model.User;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author zhanghaidong
 * @since 2019-03-14
 */
public interface UserMapper extends BaseMapper<User> {

    @Override
    User selectOne(@Param("ew") Wrapper<User> wrapper);
    @Override
    int insert(User user);
}
